<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	<#include "/admin/head.html"/>
	<script type="text/javascript"> 
function getTableForm() {
	return document.getElementById('jvForm');
}

$(function() {
	$("#jvForm").validate();
});

</script>
	</head>

	<body>

				<div class="mr-top-position">
					<div class="mr-top-tit fl">
						银行卡信息
					</div>
				</div>
				<div class="mc_content">
					<form id="jvForm" action="v_tmemberbankcardList.do" method="post" style="padding-top:5px;">
					<table width="100%" cellspacing="1" cellpadding="5" border="0"
						bgcolor="#C8DCF0" align="center">
						
						<tbody>
							<tr>
								<td width="150" height="25" bgcolor="#f6fbff" align="right">
									银行名称
								</td>
								<td width="150" height="25" bgcolor="#f6fbff" align="right">
									开户名
								</td>
								<td width="150" height="25" bgcolor="#f6fbff" align="right">
									开户行
								</td>
								<td width="150" height="25" bgcolor="#f6fbff" align="right">
									开户行所在地
								</td>
								<td width="150" height="25" bgcolor="#f6fbff" align="right">
									银行卡号
								</td>
								<td width="150" height="25" bgcolor="#f6fbff" align="right">
									是否默认提现银行卡
								</td>
								<td width="150" height="25" bgcolor="#f6fbff" align="right">
									操作
								</td>
							</tr>
							<#list pagination.list! as entity>
							<tr>
								<td bgcolor="#FFFFFF">
								${entity.bank!?html}
								</td>
								<td bgcolor="#FFFFFF">
								${entity.username!}
								</td>
								<td bgcolor="#FFFFFF">
								${entity.bankname!}
								</td>
								<td bgcolor="#FFFFFF">
								${entity.banknameaddr!}
								</td>
								<td bgcolor="#FFFFFF">
								${entity.bankcard!}
								</td>
								<td bgcolor="#FFFFFF">
								<#if entity.iswithdraw!?string=='0'> 否
								<#else>是
								</#if>
								</td>
								<td bgcolor="#FFFFFF">
								<a href="o_tmemberbankcardEdit2.do?id=${entity.mbcid!}">修改</a>
								<a href="o_tmemberbankcardDelete.do?ids=${entity.mbcid!}" onclick="return confirm('是否要删除该银行卡?');">删除</a>
								</td>
							</tr>
							</#list>
						</tbody>
					</table>
					<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td align="center" class="pn-sp">
                共 ${pagination.totalCount} 条&nbsp;
                每页 ${pagination.pageSize} 条&nbsp;
                               <!-- <input type="text" value="20" style="width:30px" onfocus="this.select();" onblur="$.cookie('_cookie_page_size',this.value,{expires:3650});" onkeypress="if(event.keyCode==13){$(this).blur();return false;}"/>-->

                <input type="button" class="first-page"value="首 页" onclick="_gotoPage('1');"<#if pagination.firstPage> disabled="disabled"</#if>/>
                <input type="button" class="pre-page" value="上一页" onclick="_gotoPage('${pagination.prePage}');"<#if pagination.firstPage> disabled="disabled"</#if>/>
                <input type="button" class="next-page" value="下一页" onclick="_gotoPage('${pagination.nextPage}');"<#if pagination.lastPage> disabled="disabled"</#if>/>
                <input type="button" class="last-page" value="尾 页" onclick="_gotoPage('${pagination.totalPage}');"<#if pagination.lastPage> disabled="disabled"</#if>/>&nbsp;
                当前 ${pagination.pageNo}/${pagination.totalPage} 页 &nbsp;转到第<input type="text" id="_goPs" style="width:50px" onfocus="this.select();" onkeypress="if(event.keyCode==13){$('#_goPage').click();return false;}"/>页
                <input id="_goPage" class="go"  type="button" value="转" onclick="_gotoPage($('#_goPs').val());"<#if pagination.totalPage==1> disabled="disabled"</#if>/>
            </td>
            </tr>
            </table><script type="text/javascript"> 
function _gotoPage(pageNo) {
	try{
		var tableForm = getTableForm();
		$("input[name=pageNo]").val(pageNo);
		tableForm.action="v_tmemberbankcardList.do";
		tableForm.onsubmit=null;
		tableForm.submit();
	} catch(e) {
		alert('_gotoPage(pageNo)方法出错');
	}
}         
</script>
</form>
				</div>
			<div style="clear: both"></div>
	</body>
</html>
